import mirror, {
    actions,
    connect,
    render ,
    Route,
    Router ,
    Link ,
    
} from 'mirrorx' ;

import Reducers from "./reducers/index";
import Effects from "./effects/index";
import State from "./state/index";

mirror.defaults({
    historyMode: 'hash',
});
mirror.model({
    name:'app',
    initialState: State,
    reducers:Reducers,
    effects:Effects
});
mirror.hook((action , getState) => {
    console.log('hook' , action , getState())
})